﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SocialPhotos.Models.Entities;

namespace SocialPhotos.Models
{
    public interface IPhotoRepository
    {
        IQueryable<Photo> Photos();

        IQueryable<Photo> Photos(int? category, int? userId, int page, int size);

        int GetPageNumber(int? category, int? userId, int size);

        IQueryable<Photo> GetTopRate(int top, int category = 0);

        IQueryable<Photo> GetTopLatest(int top, int category = 0);
    }
}
